/* UTF8 Encoding */
/*-----------------------------------------------------------------------
|                            FILE DESCRIPTION                           |
-----------------------------------------------------------------------*/
/*----------------------------------------------------------------------
  - File name     : bsp_protocol.hpp
  - Author        : liuzhihua (liuzhihuawy@163.com)
  - Update date   : 2024.04.05
  - Brief         : board base protocol
  - Version       : v0.1
-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------
|                               UPDATE NOTE                             |
-----------------------------------------------------------------------*/
/**
 * Update note:
 * ------------   ---------------   ----------------------------------
 *     Date            Author                      Note
 * ------------   ---------------   ----------------------------------
 *  2024.04.05       liuzhihua                 Create file
 ***/

#ifndef BSP_PROTOCOL_H
#define BSP_PROTOCOL_H

/*-----------------------------------------------------------------------
|                               INCLUDES                                |
-----------------------------------------------------------------------*/
#include "bsp_uart.h"
#ifdef __cplusplus
extern "C"
{
#endif
  /*-----------------------------------------------------------------------
  |                                DEFINES                                |
  -----------------------------------------------------------------------*/
  int SYS_CMD(UART_HandleTypeDef *huart, uint8_t *pdata, uint16_t len);

  /*-----------------------------------------------------------------------
  |                                  API                                  |
  -----------------------------------------------------------------------*/
  void sys_print_info(const void *arg);
#ifdef __cplusplus
}
#endif
#endif
